package stream;

import java.util.Arrays;
import java.util.List;

/**
 * @author shentianyu
 * @date 2021-06-18 12:37
 */
public class StreamMap {
    public static void main(String[] args) {
        List<String> list = Arrays.asList("aaa","bbb","ccc","ddd");
        list.stream().map((str)->str.toUpperCase()).forEach(System.out::println);
    }
}
